Skip to content

Commit 0bc3c1d

Browse files
authored
Merge pull request #283 from ciallo-agent/fix/figspec-access-token-optional
fix(types): make accessToken optional in FigspecConfig
2 parents db5e98d + 81e3f7c commit 0bc3c1d

File tree

1 file changed

+2
-1
lines changed
  • packages/storybook-addon-designs/src

1 file changed

+2
-1
lines changed

packages/storybook-addon-designs/src/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ export interface FigspecConfig extends ConfigBase {
7474

7575
/**
7676
* Personal Access Token for your Figma account.
77+
* If not provided, the `STORYBOOK_FIGMA_ACCESS_TOKEN` environment variable must be set.
7778
*/
78-
accessToken: string;
79+
accessToken?: string;
7980
}
8081

8182
/**

0 commit comments

Comments
 (0)