DefinitelyTyped notes

TypeScript 2.0 and The Future of Declaration Files msdn (June, 2016)

Paraphrased from How to Import Intellisense files into vsCode (Visual Studio Code):

  • The tsd.d.ts file (which is created and updated after running tsd ‘installs’ at the command line) contains references to all of your .tsd files.
  • So, to access all of your project’s tsd files in any of the project’s .ts files, all you need to do is reference the following path at the top of the .ts file /// <reference path="typings/tsd.d.ts" />
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s