Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#70256 Updates systemjs types to 6.15.1 by @…
Browse files Browse the repository at this point in the history
  • Loading branch information
mellis481 authored Sep 3, 2024
1 parent 85536d6 commit 6ee6bcd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions types/systemjs/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ declare const System: {
* Any existing map entries will be overridden with the new values.
*/
addImportMap(importMap: System.ImportMap): void;

/**
* Gets combined import map.
*/
getImportMap(): System.ImportMap;
};

declare namespace System {
Expand Down
2 changes: 1 addition & 1 deletion types/systemjs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/systemjs",
"version": "6.13.9999",
"version": "6.15.9999",
"projects": [
"https://github.com/systemjs/systemjs"
],
Expand Down
2 changes: 2 additions & 0 deletions types/systemjs/systemjs-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,5 @@ System.addImportMap({
},
},
});

System.getImportMap();

0 comments on commit 6ee6bcd

Please sign in to comment.