We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5d04d commit 4e6a439Copy full SHA for 4e6a439
packages/playground/src/app/components/Editor.tsx
@@ -145,6 +145,10 @@ export function Editor({
145
"import { ccc } from '@ckb-ccc/core'; export function render(...msgs: unknown[]): Promise<void>; export const signer: ccc.Signer; export const client: ccc.Client;",
146
"file:///node_modules/@ckb-ccc/playground/index.d.ts",
147
);
148
+ monaco.languages.typescript.typescriptDefaults.addExtraLib(
149
+ '{ "type": "commonjs" }',
150
+ "file:///node_modules/@ckb-ccc/playground/package.json",
151
+ );
152
153
monaco.languages.register({ id: "typescript" });
154
createHighlighter({
0 commit comments