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