We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e16badd commit 24f8fc9Copy full SHA for 24f8fc9
packages/schema-generator/test/fixtures/schema/cell-brand-variants.input.ts
@@ -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
7
interface MyComparableCell<T> extends BrandedCell<T, "comparable"> {}
8
interface MyReadonlyCell<T> extends BrandedCell<T, "readonly"> {}
9
interface MyWriteonlyCell<T> extends BrandedCell<T, "writeonly"> {}
0 commit comments