Skip to content

Commit 20685af

Browse files
react-meteor-data: restore TS support via zodern:types
1 parent 059378a commit 20685af

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/react-meteor-data/main.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// <reference path="./react-meteor-data.d.ts" />
2+
/// <reference path="./suspense/react-meteor-data.d.ts" />
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typesEntry": "main.d.ts"
3+
}

packages/react-meteor-data/package.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ Package.onUse((api) => {
1717
api.use('tracker')
1818
api.use('ecmascript')
1919
api.use('typescript')
20-
api.addAssets('react-meteor-data.d.ts', 'server')
21-
api.addAssets('suspense/react-meteor-data.d.ts', 'server')
20+
api.use('zodern:types', 'server')
2221

2322
api.mainModule('index.js', ['client', 'server'], { lazy: true })
2423
})

0 commit comments

Comments
 (0)