-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support
@deprecated
with a multiline comment
[converter] Fix #176
- Loading branch information
1 parent
a3caad2
commit 82766ab
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
tests/specs/references/documentation/deprecated/multiLine.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* @deprecated use `isInlineTag` | ||
* Schedules the localNotification for immediate presentation. | ||
* details is an object containing: | ||
* alertBody : The message displayed in the notification alert. | ||
* alertAction : The "action" displayed beneath an actionable notification. Defaults to "view"; | ||
* soundName : The sound played when the notification is fired (optional). The file should be added in the ios project from Xcode, on your target, so that it is bundled in the final app. For more details see the example app. | ||
* category : The category of this notification, required for actionable notifications (optional). | ||
* userInfo : An optional object containing additional notification data. | ||
* applicationIconBadgeNumber (optional) : The number to display as the app's icon badge. The default value of this property is 0, which means that no badge is displayed. | ||
*/ | ||
declare function isInlineTag(tagName: string): boolean; |
24 changes: 24 additions & 0 deletions
24
tests/specs/references/documentation/deprecated/multiLine.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module rec Glutinum | ||
|
||
open Fable.Core | ||
open Fable.Core.JsInterop | ||
open System | ||
|
||
[<AbstractClass>] | ||
[<Erase>] | ||
type Exports = | ||
[<Import("isInlineTag", "REPLACE_ME_WITH_MODULE_NAME"); Obsolete("""use `isInlineTag` | ||
Schedules the localNotification for immediate presentation. | ||
details is an object containing: | ||
alertBody : The message displayed in the notification alert. | ||
alertAction : The "action" displayed beneath an actionable notification. Defaults to "view"; | ||
soundName : The sound played when the notification is fired (optional). The file should be added in the ios project from Xcode, on your target, so that it is bundled in the final app. For more details see the example app. | ||
category : The category of this notification, required for actionable notifications (optional). | ||
userInfo : An optional object containing additional notification data. | ||
applicationIconBadgeNumber (optional) : The number to display as the app's icon badge. The default value of this property is 0, which means that no badge is displayed.""")>] | ||
static member isInlineTag (tagName: string) : bool = nativeOnly | ||
|
||
(***) | ||
#r "nuget: Fable.Core" | ||
#r "nuget: Glutinum.Types" | ||
(***) |