Skip to content

Commit

Permalink
minor typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ajvincent committed Mar 24, 2024
1 parent 4cc839d commit 513bfce
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ function addExportsFile(project: Project): void {
publicExports.addExports({
pathToExportedModule: path.join(projectDir, "./source/classes/NumberStringClass.ts"),
exportNames: ["NumberStringClass"],
isDefaultImport: false,
isDefaultImport: true,
isTypeOnly: false
});

publicExports.addExports({
pathToExportedModule: path.join(projectDir, "./source/classes/NumberStringClass.ts"),
exportNames: ["NumberStringType"],
isDefaultImport: false,
isTypeOnly: false
isTypeOnly: true
});

const sourceFile = new SourceFileImpl();
Expand Down Expand Up @@ -140,7 +140,9 @@ function addTypeFestSimplify(sourceFile: SourceFile): void {
// assuming the "Simplify" type is already in the source file
const aliasNode: TypeAliasDeclaration = sourceFile.getTypeAliasOrThrow("PushableArray");

let typeStructure: TypeStructures = parseLiteralType(aliasNode.getTypeNodeOrThrow().getText());
let typeStructure: TypeStructures = parseLiteralType(
aliasNode.getTypeNodeOrThrow().getText()
);
typeStructures = new TypeArgumentedTypeStructureImpl(
LiteralTypeStructureImpl.get("Simplify"), [ typeStructure ]
);
Expand Down

0 comments on commit 513bfce

Please sign in to comment.