Skip to content

Commit

Permalink
Merge branch 'declaration-maps' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
nebrelbug committed Sep 12, 2020
2 parents 6603050 + 4796a9e commit ef5da68
Show file tree
Hide file tree
Showing 33 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/types/browser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export { default as parse } from './parse';
export { default as render } from './render';
export { templates } from './containers';
export { config, config as defaultConfig, getConfig, configure } from './config';
//# sourceMappingURL=browser.d.ts.map
1 change: 1 addition & 0 deletions dist/types/browser.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/compile-string.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ import { EtaConfig } from './config';
* ```
*/
export default function compileToString(str: string, config: EtaConfig): string;
//# sourceMappingURL=compile-string.d.ts.map
1 change: 1 addition & 0 deletions dist/types/compile-string.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/compile.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ export declare type TemplateFunction = (data: object, config: EtaConfig, cb?: Ca
* ```
*/
export default function compile(str: string, config?: PartialConfig): TemplateFunction;
//# sourceMappingURL=compile.d.ts.map
1 change: 1 addition & 0 deletions dist/types/compile.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,4 @@ declare function getConfig(override: PartialConfig, baseConfig?: EtaConfig): Eta
/** Update Eta's base config */
declare function configure(options: PartialConfig): Partial<EtaConfig>;
export { config, getConfig, configure };
//# sourceMappingURL=config.d.ts.map
1 change: 1 addition & 0 deletions dist/types/config.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/containers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ import { TemplateFunction } from './compile';
*/
declare var templates: Cacher<TemplateFunction>;
export { templates };
//# sourceMappingURL=containers.d.ts.map
1 change: 1 addition & 0 deletions dist/types/containers.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/err.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ export default EtaErr;
* Throws an EtaErr with a nicely formatted error and message showing where in the template the error occurred.
*/
export declare function ParseErr(message: string, str: string, indx: number): void;
//# sourceMappingURL=err.d.ts.map
1 change: 1 addition & 0 deletions dist/types/err.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/file-handlers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ declare function includeFile(path: string, options: EtaConfig): [TemplateFunctio
declare function renderFile(filename: string, data: DataObj, config?: PartialConfig, cb?: CallbackFn): any;
declare function renderFile(filename: string, data: DataObj, cb?: CallbackFn): any;
export { includeFile, renderFile };
//# sourceMappingURL=file-handlers.d.ts.map
1 change: 1 addition & 0 deletions dist/types/file-handlers.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/file-helpers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ interface GenericData {
*/
export declare function includeFileHelper(this: EtaConfig, path: string, data: GenericData): string;
export {};
//# sourceMappingURL=file-helpers.d.ts.map
1 change: 1 addition & 0 deletions dist/types/file-helpers.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/file-methods.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export declare var fs: any;
export declare var path: any;
export declare var readFileSync: any;
//# sourceMappingURL=file-methods.d.ts.map
1 change: 1 addition & 0 deletions dist/types/file-methods.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/file-utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ declare function getPath(path: string, options: EtaConfig): string;
*/
declare function readFile(filePath: string): any;
export { getPath, readFile };
//# sourceMappingURL=file-utils.d.ts.map
1 change: 1 addition & 0 deletions dist/types/file-utils.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export { default as parse } from './parse';
export { default as render } from './render';
export { templates } from './containers';
export { config, config as defaultConfig, getConfig, configure } from './config';
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions dist/types/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/parse.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ export interface TemplateObject {
}
export declare type AstObject = string | TemplateObject;
export default function parse(str: string, config: EtaConfig): Array<AstObject>;
//# sourceMappingURL=parse.d.ts.map
1 change: 1 addition & 0 deletions dist/types/parse.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/polyfills.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ export declare function trimLeft(str: string): string;
*
*/
export declare function trimRight(str: string): string;
//# sourceMappingURL=polyfills.d.ts.map
1 change: 1 addition & 0 deletions dist/types/polyfills.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/render.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ import { CallbackFn } from './file-handlers';
* @param cb Callback function
*/
export default function render(template: string | TemplateFunction, data: object, config?: PartialConfig, cb?: CallbackFn): string | Promise<string> | void;
//# sourceMappingURL=render.d.ts.map
1 change: 1 addition & 0 deletions dist/types/render.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/storage.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ declare class Cacher<T> {
load(cacheObj: Record<string, T>): void;
}
export { Cacher };
//# sourceMappingURL=storage.d.ts.map
1 change: 1 addition & 0 deletions dist/types/storage.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/types/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ declare function trimWS(str: string, config: EtaConfig, wsLeft: string | false,
*/
declare function XMLEscape(str: any): string;
export { trimWS, XMLEscape };
//# sourceMappingURL=utils.d.ts.map
1 change: 1 addition & 0 deletions dist/types/utils.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"strict": true,
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
Expand Down

0 comments on commit ef5da68

Please sign in to comment.