You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2773 is only a README change , and so is representative of master at that time. It's lint check succeeds under CI but locally fails with
$ cd packages/assert/
$ yarn lint
yarn run v1.22.5
$ yarn lint:types && yarn lint:eslint
$ tsc -p jsconfig.json
src/types.js:1:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: BaseAssert, AssertMakeError, AssertFail, AssertEqual, AssertTypeofBigint, AssertTypeofBoolean, AssertTypeofFunction, AssertTypeofNumber, AssertTypeofObject, AssertTypeofString, AssertTypeofSymbol, AssertTypeofUndefined, AssertTypeof, AssertString, AssertNote, DetailsToken, Details, StringablePayload, AssertQuote, Raise, MakeAssert, DetailsTag, Assert
1 // @ts-check
../../../../endojs/endo/packages/ses/src/error/types.js:1:1
1 // @ts-check
Conflicts are in this file.
../../../../endojs/endo/packages/ses/src/error/types.js:1:1 - error TS6200: Definitions of the following identifiers conflict with those in another file: BaseAssert, AssertMakeError, AssertFail, AssertEqual, AssertTypeofBigint, AssertTypeofBoolean, AssertTypeofFunction, AssertTypeofNumber, AssertTypeofObject, AssertTypeofString, AssertTypeofSymbol, AssertTypeofUndefined, AssertTypeof, AssertString, AssertNote, DetailsToken, Details, StringablePayload, AssertQuote, Raise, MakeAssert, DetailsTag, Assert
1 // @ts-check
src/types.js:1:1
1 // @ts-check
Conflicts are in this file.
Found 2 errors.
error Command failed with exit code 2.
To fix that failure while working on #2769 at 0346c2e I delete the redundant types.js file and change agoric-sdk's assert.js from importing it to instead saying
As @dtribble suggested, once I cleared all caches and rebuilt my world, this problem went away. The current state works both locally and under CI. Closing.
#2773 is only a README change , and so is representative of master at that time. It's lint check succeeds under CI but locally fails with
To fix that failure while working on #2769 at 0346c2e I delete the redundant
types.js
file and change agoric-sdk'sassert.js
from importing it to instead saying/// <reference types="ses"/>
This fixes the
yarn lint
error locally, but causes the lint check to fail under CI as seen athttps://github.com/Agoric/agoric-sdk/pull/2769/checks?check_run_id=2240480256
The failure is
which makes sense if CI cannot dereference
/// <reference types="ses"/>
but my local environment can. However, I have no idea where to look for that difference.
The text was updated successfully, but these errors were encountered: