Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For some reason ts expect error doesn't work for unknowntype #43

Open
github-actions bot opened this issue Jul 14, 2022 · 0 comments
Open

For some reason ts expect error doesn't work for unknowntype #43

github-actions bot opened this issue Jul 14, 2022 · 0 comments
Labels

Comments

@github-actions
Copy link

For some reason ts expect error doesn't work for unknowntype

https://github.com/JournalOfTrialAndError/JOTE/blob/4b292b06dc554e7a6e4e5bdce792f5a57d0bef81/libs/xast/xast-util-select/src/lib/any.ts#L20

import { test } from './test'

const type = zwitch('type', {
  /**
   * TODO: For some reason ts expect error doesn't work for unknowntype
   */
  unknown: unknownType as any ,
  invalid: invalidType,
  handlers: { selectors, ruleSet, rule } as any,
})

/**

a6618edceb94af2128c9eb14b758d6caafffb2a9

@github-actions github-actions bot added the todo label Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants