@let-josh/docs-test 0.0.2 → 0.0.3

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
@@ -1 +1,2 @@
1
- export { default as Person } from './Person.svelte';
1
+ export { Person } from './person/index.js';
2
+ export type { Props as PersonProps } from './person/index.js';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { default as Person } from './Person.svelte';
1
+ export { Person } from './person/index.js';
@@ -1,8 +1,5 @@
1
1
  <script lang="ts">
2
- type Props = {
3
- age: number;
4
- name: string;
5
- };
2
+ import type { Props } from './types.js';
6
3
  let { name = $bindable('josh'), age = 34 }: Partial<Props> = $props();
7
4
 
8
5
  /**
@@ -1,7 +1,5 @@
1
- declare const Person: import("svelte").Component<Partial<{
2
- age: number;
3
- name: string;
4
- }>, {
1
+ import type { Props } from './types.ts';
2
+ declare const Person: import("svelte").Component<Partial<Props>, {
5
3
  /**
6
4
  * hello world
7
5
  */ getName: () => string;
@@ -0,0 +1,2 @@
1
+ export { default as Person } from './Person.svelte';
2
+ export type { Props } from './types.ts';
@@ -0,0 +1 @@
1
+ export { default as Person } from './Person.svelte';
@@ -0,0 +1,12 @@
1
+ export type Props = {
2
+ /**
3
+ * the person's age
4
+ * @default 34
5
+ */
6
+ age: number;
7
+ /**
8
+ * the person's name
9
+ * @default 'josh'
10
+ */
11
+ name: string;
12
+ };
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@let-josh/docs-test",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",