definitelytyped.github.io
definitelytyped.github.io copied to clipboard
Website content for definitelytyped.org
Hi, the website is accessible at https://definitelytyped.github.io/ instead of https://www.definitelytyped.org/ as given at almost all the places in docs. This needs to be corrected. Please let me know if help...
I have put the question on StackOverflow [here](https://stackoverflow.com/questions/68921117/how-do-you-properly-declare-enum-type-in-a-definitelytyped-library) The question is around how to handle enums and [here](https://github.com/tom-schier/dt-enum-question) is a repo with instructions on how to reproduce
The link to the article on codeplex.com on http://definitelytyped.org/guides/creating.html points to a page that says the content is moved. I couldn't find the article at all.
Create a "getting started" section explaining how to use the typings in a typescript project. Ref: https://github.com/borisyankov/DefinitelyTyped/issues/4631
HTTPS
I'm a big fan of TypeScript. Would it be possible to add HTTPS to definitelytyped.org? Cloudflare and Lets Encrypt are free too 😃 Cheers
## Another one Prefer `func()` style function declarations on interfaces instead of `func:Function` as they allow overriding i.e. **DO** ``` ts interface Foo{ take():number; take(num:number):void; } ``` instead of ```...
Seems to me like this should work: ```tsx class MouseDown extends React.Component { onMouseDown = (event: MouseEvent) => { console.log(event) } render() { return } } ``` Ideally I could...
From [the 'Publish to @types' from typescriptlang.org](https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html) I understand that the definitions from DefinitelyTyped are used to create the `@types/` npm modules. From [the contributing page](http://definitelytyped.org/guides/contributing.html) I was wondering if...
[The contributing page](http://definitelytyped.org/guides/contributing.html) states > Naming the file > Try to use a simple lowercase identifier as name of the definition file, like library.d.ts or node-hoge.d.ts Should that read "use...