Skip to content

Commit

Permalink
Brings the flow types up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
OllyHodgson committed May 28, 2024
1 parent b5587cf commit 2d3bf68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/tiny-invariant.flow.js

This file was deleted.

8 changes: 8 additions & 0 deletions src/tiny-invariant.js.flow
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// @flow

declare module "tiny-invariant" {
declare export default function invariant(
condition: mixed,
message?: string | (() => string),
): boolean;
}

0 comments on commit 2d3bf68

Please sign in to comment.