Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stackptr committed Mar 10, 2023
1 parent 280105a commit c54d9c8
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ all=error
untyped-import=warn
unclear-type=warn
deprecated-utility=warn

[libs]
./lib/

[declarations]
.*/node_modules/.*.flow
2 changes: 1 addition & 1 deletion dist/link-header.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type ParserT } from '@freckle/parser';
import type { ParserT } from '@freckle/parser';
export type LinkName = 'first' | 'previous' | 'next' | 'last';
export type LinkPathT = string;
export declare function fromString(linkUrl: string): LinkPathT;
Expand Down
2 changes: 1 addition & 1 deletion dist/link-header.js.flow
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @flow
import { type, ParserT } from "@freckle/parser";
import type { ParserT } from "@freckle/parser";
export type LinkName = "first" | "previous" | "next" | "last";
export type LinkPathT = string;
declare export function fromString(linkUrl: string): LinkPathT;
Expand Down
2 changes: 2 additions & 0 deletions lib/inexact.flow.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* @flow */
export type Inexact<A> = {...A}
3 changes: 2 additions & 1 deletion src/link-header.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import isNil from 'lodash/isNil'
import {Parser, type ParserT} from '@freckle/parser'
import {Parser} from '@freckle/parser'
import type {ParserT} from '@freckle/parser'

export type LinkName = 'first' | 'previous' | 'next' | 'last'
export type LinkPathT = string
Expand Down

0 comments on commit c54d9c8

Please sign in to comment.