UNPKG
prettier-plugin-apex
Version:
beta (2.1.0-rc.7)
latest (2.2.6)
next (2.3.0-beta.2)
2.3.0-beta.2
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.2.0-beta.8
2.2.0-beta.7
2.2.0-beta.6
2.2.0-beta.4
2.2.0-beta.3
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.1.0-rc.7
2.1.0-rc.5
2.1.0-rc.3
2.1.0-rc.2
2.1.0-rc.1
2.0.1
2.0.0
2.0.0-beta.1
1.13.0
1.12.0
1.11.0
1.11.0-1
1.11.0-0
1.10.0
1.9.1
1.9.0
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
1.0.0-rc.6
1.0.0-rc.5
1.0.0-rc.4
1.0.0-rc.3
1.0.0-rc.2
1.0.0-rc.1
1.0.0-beta.2
1.0.0-beta.1
1.0.0-alpha.9
1.0.0-alpha.8
1.0.0-alpha.7
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.4
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.1
0.0.1
Salesforce Apex plugin for Prettier
prettier-plugin-apex
/
dist
/
src
/
printer.d.ts
6 lines
(5 loc)
•
242 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
AstPath
,
Doc
}
from
"prettier"
;
import
*
as
prettier
from
"prettier"
;
type
PrintFn
=
(
path
:
AstPath
) =>
Doc
;
export
default
function
printGenerically
(
path
:
AstPath
,
opts
: prettier.
ParserOptions
,
print
:
PrintFn
):
Doc
;
export
{};