fix(core): fix inheritance in JIT mode for TS 2.1 (#15599)
Fixes #15502
This commit is contained in:

committed by
Victor Berchet

parent
a9321b1387
commit
14fd78fd85
@ -14,8 +14,7 @@ import {GetterFn, MethodFn, SetterFn} from './types';
|
||||
/**
|
||||
* Attention: This regex has to hold even if the code is minified!
|
||||
*/
|
||||
export const DELEGATE_CTOR =
|
||||
/^function\s+\S+\(\)\s*{\s*("use strict";)?\s*(return\s+)?(\S+\s+!==\s+null\s+&&\s+)?\S+\.apply\(this,\s*arguments\)/;
|
||||
export const DELEGATE_CTOR = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/;
|
||||
|
||||
export class ReflectionCapabilities implements PlatformReflectionCapabilities {
|
||||
private _reflect: any;
|
||||
|
Reference in New Issue
Block a user