Skip to content

Commit

Permalink
chore: use Record type for whitepaper
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed Jul 6, 2020
1 parent c986c25 commit dec858a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/load-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { throwError } from './utils'
type InputTheme = {
mappers: string[]
sources: string[]
whitepaper: {}
whitepaper: Record<string, string>
platforms: Platforms[]
extends?: string
}
Expand All @@ -19,7 +19,7 @@ type OutputTheme = {
mappers: string[]
// Uses nested array with paths, cuz glob not save orders with using patterns for path.
sources: string[][]
whitepaper: {}
whitepaper: Record<string, string>
platforms: Platforms[]
}

Expand Down

0 comments on commit dec858a

Please sign in to comment.