diff --git a/jquery.simplemodal/jquery.simplemodal.d.ts b/jquery.simplemodal/jquery.simplemodal.d.ts index 58ddbce1f..89a2cb6dd 100644 --- a/jquery.simplemodal/jquery.simplemodal.d.ts +++ b/jquery.simplemodal/jquery.simplemodal.d.ts @@ -116,3 +116,8 @@ interface JQueryStatic { interface JQuery { modal: SimpleModal.JQueryExtension; } + +/** Ambient wrapper so it can be loaded through require. */ +declare module 'simplemodal' { + export = SimpleModal; +}