Skip to content

Commit

Permalink
Chore/some optimization (#2170)
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio authored Jan 26, 2023
2 parents d0bfd40 + 5d580c0 commit 4e14181
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ jobs:
node-version: 16
registry-url: '${{env.github-registry}}'
scope: '${{env.scope}}'
- name: Publish website
- name: Publish designer
run: npm publish --access restricted || true
working-directory: packages/designer
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish website
- name: Publish slidev
run: npm publish --access restricted || true
working-directory: packages/slidev
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish website
- name: Publish storybook
run: npm publish --access restricted || true
working-directory: packages/storybook
env:
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const register = (
return coreRegister(themes, loaders, options);
};

export const getI18nService: () => II18nService | undefined = () => STORE?.I18n;
export const getI18nService: () => II18nService | undefined = () => STORE?.I18n as II18nService;

// TODO: remove later
export const getTranslationService = () => STORE?.I18n;
2 changes: 1 addition & 1 deletion packages/library/src/components/badge/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type OptionalProps = {
color: Stringified<KoliBriColor>;
icon: Stringified<KoliBriIconProp>;
iconOnly: boolean;
smarButton: Stringified<ButtonProps>;
smartButton: Stringified<ButtonProps>;
};
export type Props = Generic.Element.Members<RequiredProps, OptionalProps>;

Expand Down

0 comments on commit 4e14181

Please sign in to comment.