Skip to content

Commit

Permalink
fix: #507 explained workaround better
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Jan 15, 2020
1 parent b2b4192 commit 47689d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/types-external.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,6 @@ export interface IProduceWithPatches {
): [Produced<Base, Return>, Patch[], Patch[]]
}

// Cause #507 :/
export function noop() {}
// Fixes #507: bili doesn't export the types of this file if there is no actual source in it..
// hopefully it get's tree-shaken away for everyone :)
export function never_used() {}

0 comments on commit 47689d7

Please sign in to comment.