This repository has been archived by the owner on Jun 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
b0bf629
commit 82f3b80
Showing
8 changed files
with
678 additions
and
627 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
This folder should only contain custom TypeScript type definitions (.d.ts) files. | ||
|
||
Only place your own type definitions here or ones that you must temporarily copy/modify. | ||
Unless you have no choice, you should install type definitions using `typings install ... --save`. | ||
|
||
If you install typings using the command above: | ||
* typings.json will be updated | ||
* the typings will be downloaded in the root typings folder (i.e., not this one) | ||
* references to these typings files will be added to both `main.d.ts` and `browser.d.ts` in the root typings folder | ||
|
||
All type definition files in this folder will automatically be picked up by the TypeScript compiler. | ||
|
||
For more details about the typings CLI, check out the official docs: https://github.com/typings/typings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Custom Type Definitions | ||
* When including 3rd party modules you also need to include the type definition for the module | ||
* if they don't provide one within the module. You can try to install it with typings | ||
typings install node --save | ||
* If you can't find the type definition in the registry we can make an ambient definition in | ||
* this file for now. For example | ||
declare module "my-module" { | ||
export function doesSomething(value: string): string; | ||
} | ||
* | ||
* If you're prototying and you will fix the types later you can also declare it as type any | ||
* | ||
declare var assert: any; | ||
* | ||
* If you're importing a module that uses Node.js modules which are CommonJS you need to import as | ||
* | ||
import * as _ from 'lodash' | ||
* You can include your type definitions in this file until you create one for the typings registry | ||
* see https://github.com/typings/registry | ||
* | ||
*/ |
Empty file.
Oops, something went wrong.