aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
2 lines (1 loc) • 763 B
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0}),exports.Shims=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class Shims{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.Shims",version:"2.247.0"};static asMixin(aspect){try{jsiiDeprecationWarnings().aws_cdk_lib_IAspect(aspect)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.asMixin),error}return{supports(_construct){return!0},applyTo(construct){aspect.visit(construct)}}}static asAspect(mixin){return{visit(node){mixin.supports(node)&&mixin.applyTo(node)}}}constructor(){}}exports.Shims=Shims;