File tree 3 files changed +3
-1
lines changed
3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ let EmitProperties flavor prefix (emitScope: EmitScope) (i: Browser.Interface)=
234
234
| None -> ()
235
235
236
236
getAddedItems ItemKind.Property flavor
237
- |> Array.filter ( matchInterface i.Name)
237
+ |> Array.filter ( fun addedItem -> ( matchInterface i.Name addedItem ) && ( prefix <> " declare var " || not ( OptionCheckValue false addedItem.ExposeGlobally )) )
238
238
|> Array.iter emitPropertyFromJson
239
239
240
240
let EmitMethods flavor prefix ( emitScope : EmitScope ) ( i : Browser.Interface ) =
Original file line number Diff line number Diff line change 64
64
{
65
65
"kind" : " property" ,
66
66
"interface" : " Window" ,
67
+ "exposeGlobally" : false ,
67
68
"name" : " URL" ,
68
69
"type" : " URL"
69
70
},
Original file line number Diff line number Diff line change 2
2
{
3
3
"kind" : " property" ,
4
4
"interface" : " Window" ,
5
+ "exposeGlobally" : false ,
5
6
"name" : " URL" ,
6
7
"type" : " URL"
7
8
},
You can’t perform that action at this time.
0 commit comments