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

Add TypeChecker.forAny(checkers) #196

Closed
matanlurey opened this issue Jun 28, 2017 · 0 comments
Closed

Add TypeChecker.forAny(checkers) #196

matanlurey opened this issue Jun 28, 2017 · 0 comments
Assignees
Labels
type-enhancement A request for a change that isn't a bug

Comments

@matanlurey
Copy link
Contributor

This allows teams to deprecate one API and prefer the other. For example:

const $Foo = const TypeChecker.fromRuntime(Foo);
const $Bar = const TypeChecker.fromRuntime(Bar);

// Used until $Foo is deleted.
const $FooOrBar = . const TypeChecker.forAny(const [$Foo, $Bar]);
@matanlurey matanlurey added the type-enhancement A request for a change that isn't a bug label Jun 28, 2017
@matanlurey matanlurey self-assigned this Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

1 participant