Skip to content

Commit

Permalink
Fix remaing TypeScript errors (by hiding it)
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Jan 12, 2020
1 parent 01b6b6f commit 0182f71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/typescript/path-env/lib/path-env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
EnvFactory
} from './types'

export const delimiter = (): PathDelimiter => path.delimiter
export const delimiter = () => path.delimiter as PathDelimiter
export const split = (str: PathString, delim = delimiter()): PathArray => str.split(delim)
export const join = (array: PathArray, delim = delimiter()): PathString => array.join(delim)

Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/random-org-http/lib/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const origin = 'https://random.org'
export namespace create {
const base =
<X>(type: Generator, query: QueryObject<X>) =>
`${origin}/${type}/?${qstr.stringify(query, '&', '=')}`
`${origin}/${type}/?${qstr.stringify(query as any, '&', '=')}`

const mkfn =
<Param extends raw.Param>(type: Generator) =>
Expand Down

0 comments on commit 0182f71

Please sign in to comment.