Skip to content

Commit 9f5ac51

Browse files
authored
ci: check for napi .d.index changes (oxc-project#491)
1 parent ef31a1f commit 9f5ac51

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,5 @@ jobs:
100100
run: pnpm run test
101101
env:
102102
WASI_TEST: 1
103+
104+
- run: git diff --exit-code # Must commit index.d.ts

napi/index.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ export interface NapiResolveOptions {
5757
* Default `[]`
5858
*/
5959
conditionNames?: Array<string>
60-
/**
61-
* The JSON files to use for descriptions. (There was once a `bower.json`.)
62-
*
63-
* Default `["package.json"]`
64-
*/
65-
descriptionFiles?: Array<string>
6660
/**
6761
* If true, it will not allow extension-less files.
6862
* So by default `require('./foo')` works if `./foo` has a `.js` extension,

0 commit comments

Comments
 (0)