Skip to content

Commit cb35316

Browse files
Dawid Małeckifacebook-github-bot
authored andcommitted
Change reference path to use reference type in index.d.ts
Summary: dtslint throws an error when <reference path> is used to reference another package. The suggested approach is to use <reference types> instead. It requires that the [email protected] is used. Differential Revision: D69749044
1 parent 958cddb commit cb35316

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-native/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
// Mateusz Wit <https://github.com/MateWW>
5252
// Saad Najmi <https://github.com/saadnajmi>
5353
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
54-
// Minimum TypeScript Version: 4.8
54+
// Minimum TypeScript Version: 4.9
5555

5656
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5757
//
@@ -68,8 +68,8 @@
6868
/// <reference path="modules/BatchedBridge.d.ts" />
6969
/// <reference path="modules/Codegen.d.ts" />
7070
/// <reference path="modules/Devtools.d.ts" />
71-
/// <reference path="../src/types/global.d.ts" />
72-
/// <reference path="../src/types/globals.d.ts" />
71+
/// <reference types="../src/types/global.d.ts" />
72+
/// <reference types="../src/types/globals.d.ts" />
7373
/// <reference path="modules/LaunchScreen.d.ts" />
7474

7575
export * from '../Libraries/ActionSheetIOS/ActionSheetIOS';

0 commit comments

Comments
 (0)