fitbit-sdk-types
Advanced tools
Comparing version 3.2.9 to 3.2.10
{ | ||
"name": "fitbit-sdk-types", | ||
"version": "3.2.9", | ||
"version": "3.2.10", | ||
"author": "Sergio Morchón Poveda <sergio.morchon@outlook.com>", | ||
@@ -29,4 +29,4 @@ "description": "Types for Fitbit SDK.", | ||
"prettier": "prettier **/*.ts **/*.tsx **/*.json **/*.md", | ||
"dtslint": "dtslint types", | ||
"check-code": "npm run dtslint && npm run prettier -- -l", | ||
"tslint": "tslint types/**/*.ts", | ||
"check-code": "npm run tslint && npm run prettier -- -l", | ||
"fix-code": "tslint --project types --fix && npm run prettier -- --write", | ||
@@ -38,7 +38,7 @@ "prepublishOnly": "npm run check-code && npm test" | ||
"@types/node": "^10.12.24", | ||
"dtslint": "^0.4.2", | ||
"prettier": "^1.16.4", | ||
"tslint": "^5.12.1", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^3.3.3" | ||
} | ||
} |
declare module 'orientation' { | ||
type Quaternion = [number, number, number, number]; | ||
interface BatchReading extends SensorReading { | ||
interface OrientationSensorReading extends SensorReading { | ||
readonly i: number; | ||
@@ -9,3 +9,3 @@ readonly j: number; | ||
} | ||
interface OrientationSensor extends Sensor<BatchReading> { | ||
interface OrientationSensor extends Sensor<OrientationSensorReading> { | ||
readonly quaternion: Quaternion | null; | ||
@@ -12,0 +12,0 @@ readonly timestamp: number | null; |
@@ -16,3 +16,3 @@ declare module 'fs' { | ||
): void; | ||
function readFileSync(filename: string): any; | ||
function readFileSync(filename: string): ArrayBuffer; | ||
function readFileSync(filename: string, encoding: 'ascii' | 'utf-8'): string; | ||
@@ -35,3 +35,3 @@ // tslint:disable-next-line unified-signatures | ||
position?: number, | ||
): void; | ||
): number; | ||
function readSync( | ||
@@ -43,3 +43,3 @@ fd: FileDescriptor, | ||
position?: number, | ||
): void; | ||
): number; | ||
function closeSync(fd: FileDescriptor): void; | ||
@@ -46,0 +46,0 @@ function openSync( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47667