Skip to content

Commit

Permalink
Adding Typescript support (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian committed Jul 3, 2018
1 parent 116c7e2 commit d5573ff
Show file tree
Hide file tree
Showing 20 changed files with 452 additions and 178 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.yml
Expand Up @@ -11,3 +11,6 @@ rules:
block-scoped-var: error
eqeqeq: error
no-warning-comments: warn
node/no-missing-require: ["error", {
"tryExtensions": [".js", ".ts", ".json"]
}]
6 changes: 3 additions & 3 deletions .nycrc
@@ -1,9 +1,9 @@
{
"report-dir": "./.coverage",
"exclude": [
"src/*{/*,/**/*}.js",
"src/*/v*/*.js",
"test/**/*.js"
"build/src/*{/*,/**/*}.js",
"build/src/*/v*/*.js",
"build/test/**/*.js"
],
"watermarks": {
"branches": [
Expand Down
2 changes: 1 addition & 1 deletion conformance/runner.js
Expand Up @@ -26,7 +26,7 @@ const duplexify = require('duplexify');
const gax = require('google-gax');
const grpc = new gax.GrpcClient().grpc;

const Firestore = require('../');
const Firestore = require('../src');
const reference = require('../src/reference')(Firestore);
const document = require('../src/document')(reference.DocumentReference);
const DocumentSnapshot = document.DocumentSnapshot;
Expand Down
300 changes: 300 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d5573ff

Please sign in to comment.