Skip to content

Commit 24f8fc9

Browse files
committed
test fix for cell brand
1 parent e16badd commit 24f8fc9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/schema-generator/test/fixtures/schema/cell-brand-variants.input.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
declare const CELL_BRAND: unique symbol;
2+
3+
interface BrandedCell<T, Brand extends string> {
4+
readonly [CELL_BRAND]: Brand;
5+
}
6+
17
interface MyComparableCell<T> extends BrandedCell<T, "comparable"> {}
28
interface MyReadonlyCell<T> extends BrandedCell<T, "readonly"> {}
39
interface MyWriteonlyCell<T> extends BrandedCell<T, "writeonly"> {}

0 commit comments

Comments
 (0)