Skip to content

Commit 6ca82c8

Browse files
committed
Step 1.1: Add declarations file
1 parent 791aa90 commit 6ca82c8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/declarations.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
Declaration files are how the Typescript compiler knows about the type information(or shape) of an object.
3+
They're what make intellisense work and make Typescript know all about your code.
4+
A wildcard module is declared below to allow third party libraries to be used in an app even if they don't
5+
provide their own type declarations.
6+
To learn more about using third party libraries in an Ionic app, check out the docs here:
7+
http://ionicframework.com/docs/v2/resources/third-party-libs/
8+
For more info on type definition files, check out the Typescript docs here:
9+
https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html
10+
*/

0 commit comments

Comments
 (0)