Merged PR 194: Added option to disable any API call
Added option to disable any API call Fix http.js and node-http.js Fix MainContainer not using IAvailableContainer from MainContainer Fix generate_dts.py script More docs Fix MainContainer default style. Extend config will now be taken into account. But Main container can still have its own type.
This commit is contained in:
parent
8ba19cc96b
commit
3ecff4cf01
10 changed files with 648 additions and 570 deletions
|
@ -27,7 +27,7 @@ export_pattern = re.compile(
|
|||
r"export ([*] from [\"'\s].*[\"'\s]|{.*}(?: from [\"'\s].*[\"'\s])?);"
|
||||
)
|
||||
|
||||
filter_directories = ["./Enums", "./Interfaces"]
|
||||
filter_directories = ["./dist\Enums", "./dist\Interfaces"]
|
||||
|
||||
def main():
|
||||
'''
|
||||
|
@ -37,6 +37,7 @@ def main():
|
|||
output_file.write(('declare namespace {} {{\n'.format(namespace)))
|
||||
for root, subdirs, files in os.walk('./'):
|
||||
if root not in filter_directories:
|
||||
print('SKIP ' + root)
|
||||
continue
|
||||
|
||||
print('--\nroot = ' + root)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue