@player-tools/xlr 0.4.0--canary.25.709 → 0.4.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -13,6 +13,8 @@ interface Annotations {
13
13
  see?: string | Array<string>;
14
14
  /** The Typescript comment associated with the type */
15
15
  comment?: string;
16
+ /** The JSDoc `@meta` string for this type */
17
+ meta?: Record<string, string>;
16
18
  }
17
19
  interface Const<T> {
18
20
  /** The literal value for the node */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@player-tools/xlr",
3
- "version": "0.4.0--canary.25.709",
3
+ "version": "0.4.0-next.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"
package/src/core.ts CHANGED
@@ -13,6 +13,8 @@ export interface Annotations {
13
13
  see?: string | Array<string>;
14
14
  /** The Typescript comment associated with the type */
15
15
  comment?: string;
16
+ /** The JSDoc `@meta` string for this type */
17
+ meta?: Record<string, string>;
16
18
  }
17
19
 
18
20
  export interface Const<T> {
@@ -208,8 +210,8 @@ export type NodeType =
208
210
  export type NodeTypeStrings = Pick<NodeType, 'type'>['type'];
209
211
 
210
212
  export type NodeTypeMap = {
211
- // eslint-disable-next-line jsdoc/require-jsdoc, prettier/prettier
212
- [K in NodeTypeStrings]: Extract<NodeType,{type: K}>;
213
+ // eslint-disable-next-line jsdoc/require-jsdoc
214
+ [K in NodeTypeStrings]: Extract<NodeType, { type: K }>;
213
215
  };
214
216
 
215
217
  export type NamedType<T extends NodeType = NodeType> = T & {