@drincs/nqtr 0.1.13 → 0.1.14

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.
@@ -1,16 +1,7 @@
1
1
  /**
2
2
  * Grafic item type.
3
- * You can override this interface to add your JS Framework Element (For example: React, Vue, Angular, etc).
4
- * @example
5
- * ```typescript
6
- * // nqtr.types.ts
7
- * // react
8
- * declare module '@drincs/nqtr/dist/override' {
9
- * interface GraphicHTMLElement extends React.ReactNode {}
10
- * }
11
- * ```
3
+ * For now, it can be a JSX element or a HTML element.
12
4
  */
13
- interface GraphicHTMLElement extends HTMLElement, JSX.Element {
14
- }
5
+ type GraphicHTMLElement = JSX.Element | HTMLElement;
15
6
 
16
7
  export type { GraphicHTMLElement as default };
@@ -1,16 +1,7 @@
1
1
  /**
2
2
  * Grafic item type.
3
- * You can override this interface to add your JS Framework Element (For example: React, Vue, Angular, etc).
4
- * @example
5
- * ```typescript
6
- * // nqtr.types.ts
7
- * // react
8
- * declare module '@drincs/nqtr/dist/override' {
9
- * interface GraphicHTMLElement extends React.ReactNode {}
10
- * }
11
- * ```
3
+ * For now, it can be a JSX element or a HTML element.
12
4
  */
13
- interface GraphicHTMLElement extends HTMLElement, JSX.Element {
14
- }
5
+ type GraphicHTMLElement = JSX.Element | HTMLElement;
15
6
 
16
7
  export type { GraphicHTMLElement as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drincs/nqtr",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "A complete system introducing the concepts of location, time and event, producing the framework of a not-quite-point-and-click adventure game.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -24,7 +24,7 @@
24
24
  "homepage": "https://github.com/DRincs-Productions/nqtr-pixi-vn#readme",
25
25
  "devDependencies": {
26
26
  "@drincs/nqtr": "^0.1.11",
27
- "@types/react": "^18.3.2",
27
+ "@types/react": "^18.3.3",
28
28
  "ts-node": "^10.9.2",
29
29
  "tsup": "^8.0.2",
30
30
  "typescript": "^5.4.2",