question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how can i implement ts.CompilerOptions in a class?

See original GitHub issue

image

class implements ts.CompilerOptions {
}

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mhegazycommented, Jul 23, 2016

Add an index signature?

0reactions
mhegazycommented, Jul 23, 2016

We should add documentation about indexers and optional property declarations to https://www.typescriptlang.org/docs/handbook/classes.html

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation - tsc CLI Options - TypeScript
Flag Type Default ‑‑allowJs boolean false ‑‑allowUmdGlobalAccess boolean false ‑‑allowUnreachableCode boolean
Read more >
Exploring advanced compiler options in TypeScript
Learn advanced TypeScript compiler options such as strictPropertyInitialization, noImplicitThis, and strictNullChecks.
Read more >
Configuring TypeScript compiler - inDepthDev
All compiler options described in this article are listed here. ... To be able to use classes from the ES standard libraries in...
Read more >
Typescript: How to modify tsconfig to support class (I'm not ...
You write TS sources using ES6 modules, however as of January 2016 no browser natively supports this module system.
Read more >
Compile TypeScript Project - TutorialsTeacher
In the above sample tsconfig.json file, the compilerOptions specifies the custom options for the TypeScript compiler to use when compiling a project.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found