remove default exports
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export default class PlaceholderPattern {
|
export class PlaceholderPattern {
|
||||||
readonly #prefix: string;
|
readonly #prefix: string;
|
||||||
readonly #suffix: string;
|
readonly #suffix: string;
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user