Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

chore: added typeRoots#190

Open
eugbyte wants to merge 2 commits into
Open-Attestation:masterfrom
eugbyte:experiment/types
Open

chore: added typeRoots#190
eugbyte wants to merge 2 commits into
Open-Attestation:masterfrom
eugbyte:experiment/types

Conversation

@eugbyte

@eugbyte eugbyte commented Jun 29, 2021

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread tsconfig.json
"strict": true,
"baseUrl": ".",
"typeRoots": ["./src/@types", "./node_modules/@types"],
"typeRoots": ["./src/@types", "./src/shared/@types", "./node_modules/@types"],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can remove src/@types

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, this solution still does not work.

In open-attestation-cli's package.json,

"@govtechsg/open-attestation": "github:eugbyte/open-attestation#experiment/types",

Will have to resolve it by creating our own documentLoader. as you suggested

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants