Skip to content

Commit 8516f03

Browse files
docs: initial content for references.d.ts (#8)
Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
1 parent e54b993 commit 8516f03

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: references.d.ts
3+
---
4+
5+
The `references.d.ts` file contains the TypeScript declarations for the platform APIs accessed by the NativeScript app.
6+
7+
```ts
8+
/// <reference path="../node_modules/@nativescript/types/index.d.ts" />
9+
10+
/// <reference path="./roomdb.d.ts" />
11+
```

content/sidebar.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ export default [
9090
link: '/project-structure/package-json',
9191
icon: 'file',
9292
},
93+
{ text: 'references.d.ts', link: '/project-structure/references-d-ts', icon: 'file' },
94+
{
95+
text: 'tsconfig.json',
96+
link: '/project-structure/tsconfig-json',
97+
icon: 'file',
98+
},
9399
{ text: 'webpack.config.js', link: '/webpack', icon: 'file' },
94100
// {
95101
// text: 'package.json',
@@ -105,12 +111,6 @@ export default [
105111
// },
106112
// ],
107113
// },
108-
{
109-
text: 'tsconfig.json',
110-
link: '/project-structure/tsconfig-json',
111-
icon: 'file',
112-
},
113-
// { text: 'references.d.ts', link: '//#', icon: 'file' },
114114
],
115115
},
116116
{

0 commit comments

Comments
 (0)