Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Typescript Intellisense: Can a Guid type be generated as a string type #244

Open
styfle opened this issue Dec 9, 2016 · 1 comment

Comments

@styfle
Copy link
Contributor

styfle commented Dec 9, 2016

Is it possible to use string type instead of any type when generating a TypeScript Intellisense Definition file ( the .d.ts file)?

I know Guid is not a primitive type but could it be added to this dictionary?

@gcastre
Copy link

gcastre commented Dec 20, 2016

Hello @styfle I have done this in my fork (including generating type for enum instead of const enum)

There are the options in the config menu so you can disable what you want. Just recompile https://github.com/gcastre/WebEssentials2015/tree/ts_guid in release and change the version number, then install the WebEssentials2015.vsix in the bin/release folder

@madskristensen Should I make a PR for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants