Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit df4eb5f

Browse files
committed
Rename types.ts -> types.d.ts
1 parent f448665 commit df4eb5f

File tree

29 files changed

+31
-31
lines changed

29 files changed

+31
-31
lines changed

bundler/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ensureDir } from 'https://deno.land/[email protected]/fs/ensure_dir.ts'
33
import { transform } from '../compiler/mod.ts'
44
import { trimBuiltinModuleExts } from '../framework/core/module.ts'
55
import { ensureTextFile, existsFile, lazyRemove } from '../shared/fs.ts'
6-
import type { BrowserName } from '../types.ts'
6+
import type { BrowserName } from '../types.d.ts'
77
import { VERSION } from '../version.ts'
88
import type { DependencyGraph } from '../server/analyzer.ts'
99
import type { Aleph, Module } from '../server/aleph.ts'

commands/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default async function (nameArg?: string) {
6262
imports: {
6363
'~/': './',
6464
'aleph/': `https://deno.land/x/aleph@v${VERSION}/`,
65-
'aleph/types': `https://deno.land/x/aleph@v${VERSION}/types.ts`,
65+
'aleph/types': `https://deno.land/x/aleph@v${VERSION}/types.d.ts`,
6666
'aleph/web': `https://deno.land/x/aleph@v${VERSION}/framework/core/mod.ts`,
6767
'aleph/react': `https://deno.land/x/aleph@v${VERSION}/framework/react/mod.ts`,
6868
'react': `https://esm.sh/react@${defaultReactVersion}`,

compiler/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { join } from 'https://deno.land/[email protected]/path/mod.ts'
22
import { ensureDir } from 'https://deno.land/[email protected]/fs/ensure_dir.ts'
33
import { existsFile } from '../shared/fs.ts'
44
import { Measure } from '../shared/log.ts'
5-
import type { ImportMap } from '../types.ts'
5+
import type { ImportMap } from '../types.d.ts'
66
import { getDenoDir } from '../server/helper.ts'
77
import { checksum } from './dist/checksum.js'
88
import init, { parseExportNamesSync, stripSsrCodeSync, transformSync } from './dist/compiler.js'

examples/42-wasm/wasm_loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Plugin } from 'aleph/types.ts'
1+
import type { Plugin } from 'aleph/types.d.ts'
22

33
export default <Plugin>{
44
name: 'wasm-loader',

examples/hello-world-css-modules/api/counter/[action].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { APIHandler } from 'aleph/types.ts'
1+
import type { APIHandler } from 'aleph/types.d.ts'
22

33
export const handler: APIHandler = ({ router, response }) => {
44
let count = parseInt(localStorage.getItem('count') || '0')

examples/hello-world-css-modules/api/counter/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { APIHandler } from 'aleph/types.ts'
1+
import type { APIHandler } from 'aleph/types.d.ts'
22

33
export const handler: APIHandler = ({ response }) => {
44
const count = parseInt(localStorage.getItem('count') || '0')

examples/hello-world-spa/api/counter/[action].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { APIHandler } from 'aleph/types.ts'
1+
import type { APIHandler } from 'aleph/types.d.ts'
22

33
export const handler: APIHandler = ({ router, response }) => {
44
let count = parseInt(localStorage.getItem('count') || '0')

examples/hello-world-spa/api/counter/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { APIHandler } from 'aleph/types.ts'
1+
import type { APIHandler } from 'aleph/types.d.ts'
22

33
export const handler: APIHandler = ({ response }) => {
44
const count = parseInt(localStorage.getItem('count') || '0')

examples/hello-world-src-dir/src/api/counter/[action].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { APIHandler } from 'aleph/types.ts'
1+
import type { APIHandler } from 'aleph/types.d.ts'
22

33
export const handler: APIHandler = ({ router, response }) => {
44
let count = parseInt(localStorage.getItem('count') || '0')

examples/hello-world-src-dir/src/api/counter/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { APIHandler } from 'aleph/types.ts'
1+
import type { APIHandler } from 'aleph/types.d.ts'
22

33
export const handler: APIHandler = ({ response }) => {
44
const count = parseInt(localStorage.getItem('count') || '0')

0 commit comments

Comments
 (0)