UNPKG
@mvasilkov/outdent
Version:
latest (1.0.5)
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Remove extra indentation from multiline strings.
github.com/mvasilkov/outdent
mvasilkov/outdent
@mvasilkov/outdent
/
javascript
/
outdent.d.ts
9 lines
(8 loc)
•
261 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
interface
IOptions
{
strict
?:
boolean
;
endWithNewline
?:
boolean
;
tabSize
?:
number
; }
export
declare
function
outdentLines
(
a
:
string
[],
options
?:
IOptions
):
string
[];
export
declare
function
outdent
(
a
:
string
,
options
?:
IOptions
):
string
;
export
{};