1
0

remove default exports

This commit is contained in:
2024-05-19 00:29:36 +02:00
parent 9ff13ea2ae
commit 21bd39426a
4 changed files with 5 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
export { PlaceholderOptions, PlaceholderSubstitutor } from "./placeholder.js"; export * from "./placeholder.js";
export * from "./pattern.js"; export * from "./pattern.js";
export * as VariableResolvers from "./resolver/index.js"; export * as VariableResolvers from "./resolver/index.js";
export * from "./resolver/types.js"; export * from "./resolver/types.js";

View File

@@ -1,4 +1,4 @@
export default class PlaceholderPattern { export class PlaceholderPattern {
readonly #prefix: string; readonly #prefix: string;
readonly #suffix: string; readonly #suffix: string;

View File

@@ -1,12 +1,11 @@
import { AbortSubstitutionException, PlaceholderException } from "./exceptions.js"; import { AbortSubstitutionException, PlaceholderException } from "./exceptions.js";
import PlaceholderPattern from "./pattern.js"; import { PlaceholderPattern } from "./pattern.js";
import { EMPTY as emptyResolver } from "./resolver/index.js"; import { EMPTY as emptyResolver } from "./resolver/index.js";
import { VariableResolver } from "./resolver/types.js"; import { VariableResolver } from "./resolver/types.js";
import StringSection from "./string-section.js"; import { StringSection } from "./string-section.js";
import { UnknownVariableHandler } from "./unknown-variable-handler/types.js"; import { UnknownVariableHandler } from "./unknown-variable-handler/types.js";
import { isDefined, Nullable } from "./utils.js"; import { isDefined, Nullable } from "./utils.js";
export type PlaceholderOptions = { export type PlaceholderOptions = {
pattern?: PlaceholderPattern; pattern?: PlaceholderPattern;
escapeChar?: string; escapeChar?: string;

View File

@@ -1,4 +1,4 @@
export default class StringSection { export class StringSection {
readonly #parent: string; readonly #parent: string;
readonly #offset: number; readonly #offset: number;
readonly #length: number; readonly #length: number;