microsoft / dts-gen

dts-gen creates starter TypeScript definition files for any module or library.
MIT License
2.43k stars 102 forks source link

Could not read template 'true,module' #91

Open jt000 opened 6 years ago

jt000 commented 6 years ago

Running dts-gen seems to prepend "true," to any template provided preventing a new module from being created.

e:\_git\DefinitelyTyped>dts-gen -dt --name webpack-ts-loader --template global-modifying-module
Invalid arguments: Could not read template 'true,global-modifying-module'. Expected one of:
global-modifying-module, global-plugin, global, module-class, module-function, module-plugin, module
sako9 commented 6 years ago

Try removing the 't' from the '-dt', that worked for me.