DefinitelyTyped/types/tabris-plugin-firebase
Christian Petrov 52ddb17e23 Add typings for tabris-plugin-firebase (#20328)
* Add typings for tabris-plugin-firebase

tabris-plugin-firebase is a plugin for the framework for mobile app
development Tabris.js [1]. The plugin is made available by the Cordova
ecosystem and can thus only be consumed through a global variable.

Disable linter rule "strict-export-declare-modifiers" since using
"export {};" is the recommended way of exporting nothing when the module
is only to be used through a global variable [2].

Include missing Tabris.js interfaces due to the lack of support for the
"peerDependencies" field in package.json. Remove trivial types, i.e.
the interfaces NativeObjectEvents and NativeObjectProperties which were
essentially of type object. Linter rules disallow empty interfaces.

[1]: https://tabrisjs.com
[2]: https://www.typescriptlang.org/docs/handbook/declaration-files/templates/global-modifying-module-d-ts.html

Change-Id: I85a17308ec60647a547981708602089a3da39b07

* Change {} types to object

Those changed types may have own object properties.

Change-Id: I46b68ab018db86ad8d65c43d6dc28ca14e144d0b
2017-10-06 10:39:48 -07:00
..
index.d.ts
tabris-plugin-firebase-tests.ts
tsconfig.json
tslint.json