refactor: replace references of options with config (#1903)
This commit is contained in:
+11
-3
@@ -23,9 +23,17 @@ export interface DenoConfig {
|
||||
|
||||
// --- APPLICATION CONFIGURATION ---
|
||||
|
||||
export type StartOptions = FreshOptions;
|
||||
/**
|
||||
* @deprecated Use {@linkcode FreshConfig} instead
|
||||
*/
|
||||
export type StartOptions = FreshConfig;
|
||||
|
||||
export interface FreshOptions {
|
||||
/**
|
||||
* @deprecated Use {@linkcode FreshConfig} interface instead.
|
||||
*/
|
||||
export type FreshOptions = FreshConfig;
|
||||
|
||||
export interface FreshConfig {
|
||||
build?: {
|
||||
/**
|
||||
* The directory to write generated files to when `dev.ts build` is run.
|
||||
@@ -100,7 +108,7 @@ export interface FreshOptions {
|
||||
onListen?: (params: { hostname: string; port: number }) => void;
|
||||
}
|
||||
|
||||
export interface InternalFreshOptions {
|
||||
export interface InternalFreshConfig {
|
||||
dev: boolean;
|
||||
loadSnapshot: boolean;
|
||||
denoJsonPath: string;
|
||||
|
||||
Reference in New Issue
Block a user