MCPcopy Index your code
hub / github.com/TypeStrong/ts-node / getTopLevelAwaitHint

Function getTopLevelAwaitHint

src/repl.ts:310–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308 }
309 }
310 function getTopLevelAwaitHint() {
311 return `Hint: REPL top-level await requires TypeScript version 3.8 or higher and target ES2018 or higher. You are using TypeScript ${
312 service!.ts.version
313 } and target ${
314 service!.ts.ScriptTarget[service!.config.options.target!]
315 }.`;
316 }
317 }
318
319 // Note: `code` argument is deprecated

Callers 1

handleErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…