|
Last change
on this file since a762898 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
758 bytes
|
| Line | |
|---|
| 1 | import { escape } from './escape.mjs';
|
|---|
| 2 |
|
|---|
| 3 | declare const templateSettings: {
|
|---|
| 4 | escape: RegExp;
|
|---|
| 5 | evaluate: RegExp;
|
|---|
| 6 | interpolate: RegExp;
|
|---|
| 7 | variable: string;
|
|---|
| 8 | imports: {
|
|---|
| 9 | _: {
|
|---|
| 10 | escape: typeof escape;
|
|---|
| 11 | template: typeof template;
|
|---|
| 12 | };
|
|---|
| 13 | };
|
|---|
| 14 | };
|
|---|
| 15 | interface TemplateOptions {
|
|---|
| 16 | escape?: RegExp | null | undefined;
|
|---|
| 17 | evaluate?: RegExp | null | undefined;
|
|---|
| 18 | interpolate?: RegExp | null | undefined;
|
|---|
| 19 | variable?: string | undefined;
|
|---|
| 20 | imports?: Record<string, any> | undefined;
|
|---|
| 21 | sourceURL?: string;
|
|---|
| 22 | }
|
|---|
| 23 | interface TemplateExecutor {
|
|---|
| 24 | (data?: object): string;
|
|---|
| 25 | source: string;
|
|---|
| 26 | }
|
|---|
| 27 | declare function template(string?: string, options?: TemplateOptions): TemplateExecutor;
|
|---|
| 28 |
|
|---|
| 29 | export { template, templateSettings };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.