Skip to content

Commit

Permalink
Fix error in generate-types script
Browse files Browse the repository at this point in the history
  • Loading branch information
brookback committed Jun 15, 2020
1 parent c146850 commit bd0f14e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module 'lookbook' {
declare module '@lookback/lookbook' {
/** The type for a color included in the Lookbook color system. */
export type Color =
| 'orange-10'
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-types
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const writeColorTypes = async (colors) => {
// An array like ['orange-10', 'orange-20', ...]
const colorNames = getColorNames(colors);

const typescript = `declare module 'lookbook' {
const typescript = `declare module '@lookback/lookbook' {
/** The type for a color included in the Lookbook color system. */
export type Color = ${colorNames.join(' | ')};
Expand Down

0 comments on commit bd0f14e

Please sign in to comment.