hidden export function deprecated < TThis , TArgs extends unknown [ ] , TReturn > ( message , fn ) { return function ( ... args ) { try { throw new Error ( 'trace' ) ; } catch ( trace ) { let [ line ] = trace . stack . split ( "\n" ) . slice ( 3 , 4 ) ; console . warn ( message , "\n" + line ) ; } return fn . call ( this , ... args ) ; } ; }