1
0
Fork 0
peertube/client/src/shims/noop.ts
BO41 244b4ae397 NoImplicitAny flag true (#1157)
this enables the `noImplicitAny` flag in the Typescript compiler

> When the noImplicitAny flag is true and the TypeScript compiler cannot infer the type, it still generates the JavaScript files, but it also reports an error. Many seasoned developers prefer this stricter setting because type checking catches more unintentional errors at compile time.

closes: #1131
replaces #1137
2018-10-18 09:08:59 +02:00

3 lines
108 B
TypeScript

// Does nothing. Used to shim out node.js modules
// which are no-ops in the browser.
export const NOOP = 0