Skip to content

Commit

Permalink
fix(types): artificial fix needed to trigger release
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Sep 7, 2020
1 parent 5b75bc1 commit b577daf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/manual-release.yml
Expand Up @@ -17,8 +17,6 @@ jobs:
# We need to fetch all tags and branches
fetch-depth: 0

- run: git log -n 3

- name: Verify head of master hasn't changed
run: |
# We ensure that the latest commit on master is still the one we expected when
Expand Down Expand Up @@ -52,8 +50,12 @@ jobs:
run: |
yarn build
- name: (WIP) Determine what version to release
run: npx lerna version --loglevel=silly --conventional-commits --exact
- name: (WIP) Determine what version to release (--yes will skip the confirmation prompt)
run: npx lerna version --loglevel=silly --conventional-commits --exact --yes

- run: |
git diff
git status
# - name: Publish the updated versions to NPM (--yes will skip the confirmation prompt)
# run: npx lerna publish from-package --yes
Expand Down
3 changes: 3 additions & 0 deletions packages/types/src/ast-node-types.ts
Expand Up @@ -169,10 +169,13 @@ export { AST_NODE_TYPES };
import type { Node } from './ts-estree';

type GetKeys<T extends AST_NODE_TYPES> = keyof Extract<Node, { type: T }>;

type AllKeys = {
readonly [T in AST_NODE_TYPES]: GetKeys<T>;
};

type TakesString<T extends Record<string, string>> = T;

// @ts-expect-error: purposely unused
type _Test =
// forcing the test onto a new line so it isn't covered by the expect error
Expand Down

0 comments on commit b577daf

Please sign in to comment.