Skip to content

Commit

Permalink
fix: route param types (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldietzler authored Jul 6, 2024
1 parent 4556823 commit fd5c703
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
run: npm run check:svelte
if: ${{ !cancelled() }}

# - name: Run tsc
# run: npm run check:typescript
# if: ${{ !cancelled() }}
- name: Run tsc
run: npm run check:typescript
if: ${{ !cancelled() }}

# - name: Run unit tests & coverage
# run: npm run test:cov
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/admin/(resources)/curriculums/[id]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PageLoad } from '../$types';
import type { PageLoad } from './$types';

export const load = (({ params }) => {
return {
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/admin/(resources)/rooms/[id]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PageLoad } from '../$types';
import type { PageLoad } from './$types';

export const load = (({ params }) => {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PageLoad } from '../$types';
import type { PageLoad } from './$types';

export const load = (({ params }) => {
return {
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/admin/(resources)/students/[id]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PageLoad } from '../$types';
import type { PageLoad } from './$types';

export const load = (({ params }) => {
return {
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/admin/(resources)/subjects/[id]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PageLoad } from '../$types';
import type { PageLoad } from './$types';

export const load = (({ params }) => {
return {
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/admin/(resources)/tags/[id]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PageLoad } from '../$types';
import type { PageLoad } from './$types';

export const load = (({ params }) => {
return {
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/admin/(resources)/teachers/[id]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PageLoad } from '../$types';
import type { PageLoad } from './$types';

export const load = (({ params }) => {
return {
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/admin/constraints/[id]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { PageLoad } from '../$types';
import type { PageLoad } from './$types';

export const load = (({ params }) => {
return {
Expand Down

0 comments on commit fd5c703

Please sign in to comment.