mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-04 14:27:29 +08:00
Still WIP
This commit is contained in:
13
types.js
13
types.js
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @template T
|
||||
* @typedef {new (...args: any) => T} AnyConstructor
|
||||
* @typedef {abstract new (...args: any) => T} AnyConstructor
|
||||
*/
|
||||
/**
|
||||
* @template {Attribute} T
|
||||
@@ -76,8 +76,6 @@
|
||||
* ? DescribedType<R>[]
|
||||
* : T extends MirroredEntity<infer R>
|
||||
* ? DescribedType<R>
|
||||
* : T extends Union<infer R>
|
||||
* ? DescribedTypesFromArray<R>
|
||||
* : T
|
||||
* } DescribedType
|
||||
*/
|
||||
@@ -98,10 +96,6 @@
|
||||
* (value: T): typeof value.constructor,
|
||||
* }} TypeGetter
|
||||
*/
|
||||
/**
|
||||
* @template {any[]} T
|
||||
* @typedef {import("./js/entity/Union.js").default<T>} Union
|
||||
*/
|
||||
/**
|
||||
* @typedef {typeof import("./js/Blueprint.js").default} BlueprintConstructor
|
||||
* @typedef {typeof import("./js/element/LinkElement.js").default} LinkElementConstructor
|
||||
@@ -112,6 +106,7 @@
|
||||
* @typedef {typeof import("./js/entity/ObjectEntity.js").default} ObjectEntityConstructor
|
||||
*/
|
||||
/**
|
||||
* @typedef {import ("./tests/fixtures/BlueprintFixture.js").default} BlueprintFixture
|
||||
* @typedef {import("./js/Blueprint.js").default} Blueprint
|
||||
* @typedef {import("./js/element/ColorHandlerElement.js").default} ColorHandlerElement
|
||||
* @typedef {import("./js/element/ColorSliderElement.js").default} ColorSliderElement
|
||||
@@ -130,7 +125,7 @@
|
||||
* @typedef {import("./js/element/WindowElement.js").default} WindowElement
|
||||
* @typedef {import("./js/entity/ByteEntity.js").default} ByteEntity
|
||||
* @typedef {import("./js/entity/ColorChannelEntity.js").default} ColorChannelEntity
|
||||
* @typedef {import("./js/entity/ComputedType.js").default} ComputedType
|
||||
* @typedef {import("./js/entity/ComputedTypeEntity.js").default} ComputedTypeEntity
|
||||
* @typedef {import("./js/entity/EnumDisplayValueEntity.js").default} EnumDisplayValueEntity
|
||||
* @typedef {import("./js/entity/EnumEntity.js").default} EnumEntity
|
||||
* @typedef {import("./js/entity/FormatTextEntity.js").default} FormatTextEntity
|
||||
@@ -209,10 +204,10 @@
|
||||
* @typedef {import("./js/template/SelectorTemplate.js").default} SelectorTemplate
|
||||
* @typedef {import("./js/template/window/ColorPickerWindowTemplate.js").default} ColorPickerWindowTemplate
|
||||
* @typedef {import("./js/template/window/WindowTemplate.js").default} WindowTemplate
|
||||
* @typedef {import ("./tests/fixtures/BlueprintFixture.js").default} BlueprintFixture
|
||||
* @typedef {import("lit").CSSResult} CSSResult
|
||||
* @typedef {import("lit").PropertyValues} PropertyValues
|
||||
* @typedef {import("lit").TemplateResult} TemplateResult
|
||||
* @typedef {import("parsernostrum/src/parser/Parser.js").default} Parser
|
||||
*/
|
||||
/**
|
||||
* @template {AttributeConstructor<Attribute>} T
|
||||
|
||||
Reference in New Issue
Block a user