Skip to content

Commit e0d2f35

Browse files
add init html
1 parent 2bdbb66 commit e0d2f35

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/Fable.Python.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<Compile Include="stdlib/Ast.fs" />
1313
<Compile Include="stdlib/Builtins.fs" />
1414
<Compile Include="stdlib/Json.fs" />
15+
<Compile Include="stdlib/Html.fs" />
1516
<Compile Include="stdlib/Math.fs" />
1617
<Compile Include="stdlib/Os.fs" />
1718
<Compile Include="stdlib/Queue.fs" />

src/stdlib/Html.fs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module Fable.Python.Html
2+
3+
open Fable.Core
4+
5+
// fsharplint:disable MemberNames
6+
7+
type IExports =
8+
abstract escape : string -> string
9+
abstract escape : string * bool -> string
10+
abstract unescape : string -> string
11+
12+
/// Miscellaneous operating system interfaces
13+
[<ImportAll("html")>]
14+
let html: IExports = nativeOnly

0 commit comments

Comments
 (0)