@reflex-stack/tsp-bun-example 0.1.1 → 0.1.2
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 +1 -0
- package/dist/index.js +5 -0
- package/dist/submodule/index.d.ts +1 -0
- package/dist/submodule/index.js +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function randomFunction(): number;
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function subRandomFunction(): number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Sub-module index file, export elements here
|
|
2
|
+
// You can import elements from root
|
|
3
|
+
// Always import with the js extension, event in ts files
|
|
4
|
+
import { randomFunction } from "../index.js";
|
|
5
|
+
export function subRandomFunction() {
|
|
6
|
+
return randomFunction() * 12;
|
|
7
|
+
}
|