mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
18 lines
379 B
TypeScript
18 lines
379 B
TypeScript
import * as ascii2mathml from 'ascii2mathml';
|
|
|
|
const fn = ascii2mathml({}); // $ExpectType ascii2mathml
|
|
fn(''); // $ExpectType string
|
|
ascii2mathml('', {}); // $ExpectType string
|
|
|
|
// $ExpectType string
|
|
ascii2mathml('', {
|
|
decimalMark: '.',
|
|
colSep: ',',
|
|
rowSep: ';',
|
|
display: 'inline',
|
|
dir: 'ltr',
|
|
bare: false,
|
|
standalone: false,
|
|
annotate: false
|
|
});
|