mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
ng-facebook: reintroduce FBUIParams type (#22138)
This commit is contained in:
8
types/ng-facebook/index.d.ts
vendored
8
types/ng-facebook/index.d.ts
vendored
@@ -25,6 +25,14 @@ declare module 'angular' {
|
||||
getCustomInit(): FBInitParams;
|
||||
}
|
||||
|
||||
type FBUIParams =
|
||||
| ShareDialogParams
|
||||
| PageTabDialogParams
|
||||
| RequestsDialogParams
|
||||
| SendDialogParams
|
||||
| PayDialogParams
|
||||
| FeedDialogParams;
|
||||
|
||||
interface IFacebookService {
|
||||
config<T extends string | number | FBInitParams>(property: string): T;
|
||||
init(): void;
|
||||
|
||||
Reference in New Issue
Block a user