Skip to content

Add TypeChecker.forAny(checkers) #196

@matanlurey

Description

@matanlurey

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]);

Metadata

Metadata

Assignees

Labels

type-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions