ng-facebook: reintroduce FBUIParams type (#22138)

This commit is contained in:
Andy
2017-12-12 14:30:06 -08:00
committed by GitHub
parent 22b3917bd4
commit 98cba32893

View File

@@ -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;