mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-13 19:09:58 +00:00
Share tsconfig settings
This commit is contained in:
@@ -1,13 +1,5 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"extends": "../common/tsconfig"
|
||||||
"allowJs": true
|
|
||||||
, "target": "es5"
|
|
||||||
, "noImplicitAny": true
|
|
||||||
, "esModuleInterop": true
|
|
||||||
, "resolveJsonModule": true
|
|
||||||
, "removeComments": true
|
|
||||||
, "downlevelIteration": true
|
|
||||||
}
|
|
||||||
, "include": [
|
, "include": [
|
||||||
"./src/**/*"
|
"./src/**/*"
|
||||||
, "./@types/**/*"
|
, "./@types/**/*"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
"../tslintCommon.json"
|
"../common/tslint.json"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
11
common/tsconfig.json
Normal file
11
common/tsconfig.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"allowJs": true
|
||||||
|
, "esModuleInterop": true
|
||||||
|
, "module": "commonjs"
|
||||||
|
, "noImplicitAny": true
|
||||||
|
, "removeComments": true
|
||||||
|
, "resolveJsonModule": true
|
||||||
|
, "target": "es6"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
import { Receiver } from "../types"
|
import { Receiver } from "../types";
|
||||||
|
|
||||||
|
|
||||||
export type ReceiverSelectorSelectedEvent = CustomEvent<Receiver>;
|
export type ReceiverSelectorSelectedEvent = CustomEvent<Receiver>;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import ReceiverSelectorManager, {
|
import ReceiverSelectorManager, {
|
||||||
ReceiverSelectorCastType } from "../ReceiverSelectorManager";
|
ReceiverSelectorCastType } from "../ReceiverSelectorManager";
|
||||||
|
|
||||||
import { Receiver, Message } from "../../types";
|
import { Message, Receiver } from "../../types";
|
||||||
|
|
||||||
|
|
||||||
class NativeMacReceiverSelectorManager
|
class NativeMacReceiverSelectorManager
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
import ReceiverSelectorManager, {
|
import ReceiverSelectorManager, {
|
||||||
ReceiverSelectorCastType } from "../ReceiverSelectorManager";
|
ReceiverSelectorCastType } from "../ReceiverSelectorManager";
|
||||||
|
|
||||||
import { Receiver, Message } from "../../types";
|
|
||||||
import { getWindowCenteredProps } from "../../lib/utils";
|
import { getWindowCenteredProps } from "../../lib/utils";
|
||||||
|
import { Message, Receiver } from "../../types";
|
||||||
|
|
||||||
|
|
||||||
class PopupReceiverSelectorManager
|
class PopupReceiverSelectorManager
|
||||||
|
|||||||
@@ -1,15 +1,9 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"extends": "../common/tsconfig"
|
||||||
"allowJs": true
|
, "compilerOptions": {
|
||||||
, "esModuleInterop": true
|
"jsx": "react"
|
||||||
, "jsx": "react"
|
|
||||||
, "lib": [ "esnext", "dom" ]
|
, "lib": [ "esnext", "dom" ]
|
||||||
, "module": "commonjs"
|
|
||||||
, "moduleResolution": "node"
|
, "moduleResolution": "node"
|
||||||
, "noImplicitAny": true
|
|
||||||
, "removeComments": true
|
|
||||||
, "resolveJsonModule": true
|
|
||||||
, "sourceMap": true
|
, "sourceMap": true
|
||||||
, "target": "es6"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
"../tslintCommon.json"
|
"../common/tslint.json"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user