Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
17 lines
472 B
TypeScript
17 lines
472 B
TypeScript
/**
|
|
* A replacement for instanceof which includes an error warning when multi-realm
|
|
* constructors are detected.
|
|
* See: https://expressjs.com/en/advanced/best-practice-performance.html#set-node_env-to-production
|
|
* See: https://webpack.js.org/guides/production/
|
|
*/
|
|
export declare const instanceOf: (
|
|
value: unknown,
|
|
constructor: Constructor,
|
|
) => boolean;
|
|
interface Constructor extends Function {
|
|
prototype: {
|
|
[Symbol.toStringTag]: string;
|
|
};
|
|
}
|
|
export {};
|