Skip to content

Commit

Permalink
Merge pull request #210 from qurben/master
Browse files Browse the repository at this point in the history
Fix types for ESM
  • Loading branch information
samthor committed Nov 9, 2020
2 parents ddf9a02 + c1f3216 commit 3302033
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.d.ts
Expand Up @@ -12,6 +12,7 @@ declare global {
}

/**
* If used as ESM, then we export the type of "DialogPolyfillType" as the default type.
* If used as ESM, then we export a const of type "DialogPolyfillType" as the default.
*/
export default DialogPolyfillType;
declare const dialogPolyfill: DialogPolyfillType
export default dialogPolyfill;

0 comments on commit 3302033

Please sign in to comment.