summaryrefslogtreecommitdiff
path: root/examples/hackernews/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hackernews/src')
-rw-r--r--examples/hackernews/src/components/Comment.astro4
-rw-r--r--examples/hackernews/src/components/For.astro2
-rw-r--r--examples/hackernews/src/components/Show.astro2
-rw-r--r--examples/hackernews/src/components/Story.astro4
-rw-r--r--examples/hackernews/src/components/Toggle.astro2
5 files changed, 7 insertions, 7 deletions
diff --git a/examples/hackernews/src/components/Comment.astro b/examples/hackernews/src/components/Comment.astro
index 6137f4e1d..07e55d19b 100644
--- a/examples/hackernews/src/components/Comment.astro
+++ b/examples/hackernews/src/components/Comment.astro
@@ -1,10 +1,10 @@
---
+import type { IComment } from '../types.js';
import For from './For.astro';
import Show from './Show.astro';
import Toggle from './Toggle.astro';
-import type { IComment } from '../types.js';
-export interface Props {
+interface Props {
comment: IComment;
}
diff --git a/examples/hackernews/src/components/For.astro b/examples/hackernews/src/components/For.astro
index 885c22a65..6eae88e27 100644
--- a/examples/hackernews/src/components/For.astro
+++ b/examples/hackernews/src/components/For.astro
@@ -1,7 +1,7 @@
---
import Show from './Show.astro';
-export interface Props<T> {
+interface Props<T> {
each: Iterable<T>;
}
diff --git a/examples/hackernews/src/components/Show.astro b/examples/hackernews/src/components/Show.astro
index 7e0887784..ccb642fd7 100644
--- a/examples/hackernews/src/components/Show.astro
+++ b/examples/hackernews/src/components/Show.astro
@@ -1,5 +1,5 @@
---
-export interface Props<T> {
+interface Props<T> {
when: T | number | boolean | undefined | null;
}
diff --git a/examples/hackernews/src/components/Story.astro b/examples/hackernews/src/components/Story.astro
index ee43bab17..e91748a30 100644
--- a/examples/hackernews/src/components/Story.astro
+++ b/examples/hackernews/src/components/Story.astro
@@ -1,8 +1,8 @@
---
-import Show from './Show.astro';
import type { IStory } from '../types.js';
+import Show from './Show.astro';
-export interface Props {
+interface Props {
story: IStory;
}
diff --git a/examples/hackernews/src/components/Toggle.astro b/examples/hackernews/src/components/Toggle.astro
index 87b686981..799fca08c 100644
--- a/examples/hackernews/src/components/Toggle.astro
+++ b/examples/hackernews/src/components/Toggle.astro
@@ -1,5 +1,5 @@
---
-export interface Props {
+interface Props {
open?: boolean;
}