Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dsherret/ts-morph
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 17.0.0
Choose a base ref
...
head repository: dsherret/ts-morph
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 17.0.1
Choose a head ref
  • 3 commits
  • 23 files changed
  • 1 contributor

Commits on Nov 20, 2022

  1. Copy the full SHA
    1009672 View commit details

Commits on Nov 21, 2022

  1. Copy the full SHA
    5c544a2 View commit details
  2. 17.0.1 (#1359)

    dsherret authored Nov 21, 2022
    Copy the full SHA
    48b797d View commit details
2 changes: 1 addition & 1 deletion deno/bootstrap/ts_morph_bootstrap.d.ts
Original file line number Diff line number Diff line change
@@ -138,7 +138,7 @@ export interface ResolutionHost {
* Factory used to create a resolution host.
* @remarks The compiler options are retrieved via a function in order to get the project's current compiler options.
*/
export declare type ResolutionHostFactory = (moduleResolutionHost: ts.ModuleResolutionHost, getCompilerOptions: () => ts.CompilerOptions) => ResolutionHost;
export type ResolutionHostFactory = (moduleResolutionHost: ts.ModuleResolutionHost, getCompilerOptions: () => ts.CompilerOptions) => ResolutionHost;

/** Collection of reusable resolution hosts. */
export declare const ResolutionHosts: {
8 changes: 4 additions & 4 deletions deno/common/ts_morph_common.d.ts
Original file line number Diff line number Diff line change
@@ -121,7 +121,7 @@ export declare class LocaleStringComparer implements Comparer<string> {
/** Static instance for reuse. */
static readonly instance: LocaleStringComparer;
/** @inheritdoc */
compareTo(a: string, b: string): 1 | -1 | 0;
compareTo(a: string, b: string): 0 | 1 | -1;
}

/**
@@ -282,7 +282,7 @@ export interface ResolutionHost {
* Factory used to create a resolution host.
* @remarks The compiler options are retrieved via a function in order to get the project's current compiler options.
*/
export declare type ResolutionHostFactory = (moduleResolutionHost: ts.ModuleResolutionHost, getCompilerOptions: () => ts.CompilerOptions) => ResolutionHost;
export type ResolutionHostFactory = (moduleResolutionHost: ts.ModuleResolutionHost, getCompilerOptions: () => ts.CompilerOptions) => ResolutionHost;

/** Collection of reusable resolution hosts. */
export declare const ResolutionHosts: {
@@ -750,7 +750,7 @@ export declare class RealFileSystemHost implements FileSystemHost {
}

/** Nominal type to denote a file path that has been standardized. */
export declare type StandardizedFilePath = string & {
export type StandardizedFilePath = string & {
_standardizedFilePathBrand: undefined;
};

@@ -1036,7 +1036,7 @@ export declare function deepClone<T extends object>(objToClone: T): T;
/**
* Event container subscription type
*/
export declare type EventContainerSubscription<EventArgType> = (arg: EventArgType) => void;
export type EventContainerSubscription<EventArgType> = (arg: EventArgType) => void;

/**
* Event container for event subscriptions.
Loading