Skip to content

Commit 0516e90

Browse files
committed
Fix properties not having beta tags
1 parent 4ee9769 commit 0516e90

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/scripts/builders/reference.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,9 @@ const getClassItemFrontmatter = (doc: ReferenceClassItem) => {
327327
alt,
328328
example,
329329
class: doc.class,
330+
beta: doc.beta ? !!doc.beta : undefined,
331+
webgpu: doc.webgpu ? !!doc.webgpu : undefined,
332+
webgpuOnly: doc.webgpuOnly ? !!doc.webgpuOnly : undefined,
330333
};
331334
};
332335

types/parsers.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ interface MethodOverload {
127127
}
128128

129129
/* Represents a property within a class */
130-
export interface ReferenceClassItemProperty extends BaseClassItem, Deprecatable {
130+
export interface ReferenceClassItemProperty extends BaseClassItem, Deprecatable, MaybeBeta, Deprecatable {
131131
type: string;
132132
}
133133

0 commit comments

Comments
 (0)