what-core 0.6.3 → 0.6.5

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/compiler.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Component, VNodeChild } from './index';
1
+ import type { Component, VNodeChild } from './index.js';
2
2
 
3
3
  /** @internal Compiler target for component instantiation. */
4
4
  export function _$createComponent(
package/jsx-runtime.d.ts CHANGED
@@ -2,9 +2,9 @@
2
2
  // Provides JSX IntrinsicElements and Element types for TypeScript JSX support.
3
3
  // Used with: jsxImportSource: "what-core" or "what-framework"
4
4
 
5
- import { VNode, VNodeChild, Component } from './index';
5
+ import { VNode, VNodeChild, Component } from './index.js';
6
6
 
7
- export { Fragment } from './index';
7
+ export { Fragment } from './index.js';
8
8
 
9
9
  /** Automatic JSX transform entry point */
10
10
  export function jsx(type: string | Component<any>, props: Record<string, any> | null, key?: string | number): VNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "what-core",
3
- "version": "0.6.3",
3
+ "version": "0.6.5",
4
4
  "description": "What Framework - The closest framework to vanilla JS",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/render.d.ts CHANGED
@@ -9,4 +9,4 @@ export {
9
9
  classList,
10
10
  effect,
11
11
  untrack,
12
- } from './index';
12
+ } from './index.js';
package/testing.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // What Framework - Testing Utilities Type Definitions
2
2
 
3
- import { VNode, Signal } from './index';
3
+ import { VNode, Signal } from './index.js';
4
4
 
5
5
  // Setup and Cleanup
6
6
  export function setupDOM(): HTMLElement | null;