diff --git a/content/project-structure/references-d-ts.md b/content/project-structure/references-d-ts.md new file mode 100644 index 00000000..ea3d9b99 --- /dev/null +++ b/content/project-structure/references-d-ts.md @@ -0,0 +1,11 @@ +--- +title: references.d.ts +--- + +The `references.d.ts` file contains the TypeScript declarations for the platform APIs accessed by the NativeScript app. + +```ts +/// + +/// +``` \ No newline at end of file diff --git a/content/sidebar.ts b/content/sidebar.ts index ebd97d4d..9b169c0f 100644 --- a/content/sidebar.ts +++ b/content/sidebar.ts @@ -90,6 +90,12 @@ export default [ link: '/project-structure/package-json', icon: 'file', }, + { text: 'references.d.ts', link: '/project-structure/references-d-ts', icon: 'file' }, + { + text: 'tsconfig.json', + link: '/project-structure/tsconfig-json', + icon: 'file', + }, { text: 'webpack.config.js', link: '/webpack', icon: 'file' }, // { // text: 'package.json', @@ -105,12 +111,6 @@ export default [ // }, // ], // }, - { - text: 'tsconfig.json', - link: '/project-structure/tsconfig-json', - icon: 'file', - }, - // { text: 'references.d.ts', link: '//#', icon: 'file' }, ], }, {