File size: 472 Bytes
d4b85c0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
 * 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 {};