docs: remove implicit 'any' and 'Object' types from the docs (#19585)

* docs: remove implicit 'any' and 'Object' types from the docs

* docs: more docs improvements, remove all remaining empty interfaces

* chore: update tests for better types
This commit is contained in:
Samuel Attard 2019-08-05 10:45:58 -07:00 committed by GitHub
parent ee674acca4
commit cfd230d7f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 88 additions and 86 deletions

View file

@ -52,7 +52,7 @@ describe('systemPreferences module', () => {
for (const badDefault of badDefaults) {
expect(() => {
systemPreferences.registerDefaults(badDefault)
systemPreferences.registerDefaults(badDefault as any)
}).to.throw('Invalid userDefault data provided')
}
})