Skip to content

TypeScript実行環境を追加 #212

TypeScript実行環境を追加

TypeScript実行環境を追加 #212

Triggered via pull request November 9, 2025 12:37
Status Failure
Total duration 56s
Artifacts

node.js.yml

on: pull_request
Matrix: lint
Matrix: types
Fit to window
Zoom out
Zoom in

Annotations

10 errors
types (22.x): app/terminal/tests.ts#L38
Type '{ python: string; ruby: string; cpp: null; javascript: string; }' does not satisfy the expected type 'Record<RuntimeLang, string | null>'.
types (22.x): app/terminal/tests.ts#L32
Property 'typescript' does not exist on type '{ python: string; ruby: string; cpp: null; javascript: string; }'.
types (22.x): app/terminal/runtime.tsx#L140
Type '"typescript"' does not satisfy the expected type 'never'.
types (22.x): app/terminal/page.tsx#L161
Argument of type '(updatedFiles: Record<string, string>) => Promise<Record<string, string>>' is not assignable to parameter of type '(name: string, content: string) => void'.
types (22.x): app/terminal/page.tsx#L156
Could not find a declaration file for module 'mocha/mocha.js'. '/home/runner/work/my-code/my-code/node_modules/mocha/mocha.js' implicitly has an 'any' type.
types (22.x): app/terminal/page.tsx#L136
Property 'typescript' is missing in type '{ python: { splitReplExamples: (content: string) => ReplCommand[]; getCommandlineStr: (filenames: string[]) => string; ready: boolean; mutex?: MutexInterface; interrupt?: () => void; runCommand?: (command: string) => Promise<ReplOutput[]>; checkSyntax?: (code: string) => Promise<SyntaxStatus>; runFiles: (filenames: ...' but required in type 'Record<RuntimeLang, RuntimeContext>'.
types (22.x): app/terminal/highlight.ts#L32
Type '"typescript"' does not satisfy the expected type 'never'.
types (22.x): app/terminal/highlight.ts#L10
Could not find a declaration file for module 'prismjs/components/prism-javascript'. '/home/runner/work/my-code/my-code/node_modules/prismjs/components/prism-javascript.js' implicitly has an 'any' type.
types (22.x): app/terminal/highlight.ts#L9
Could not find a declaration file for module 'prismjs/components/prism-ruby'. '/home/runner/work/my-code/my-code/node_modules/prismjs/components/prism-ruby.js' implicitly has an 'any' type.
types (22.x): app/terminal/highlight.ts#L8
Could not find a declaration file for module 'prismjs/components/prism-python'. '/home/runner/work/my-code/my-code/node_modules/prismjs/components/prism-python.js' implicitly has an 'any' type.