just see it
Try:
(39+79-51)*497/28
$now=Get-Date
$day=[datetime]'12-25'
if($now -lt $day ){
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Flow语法入门 | |
> qyfeng03 | |
在文件中开启flow检查 | |
```js | |
// @flow | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const DEFAULT_POLLING_INTERVAL = 300 | |
interface Polling { | |
(cb: () => void, timeout?: number): { | |
/** stop polling */ | |
stopPolling: () => void | |
} | |
} | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 可选的 组件注销时调用的回调函数 | |
* | |
* 可以用来清理副作用,避免内存泄漏 | |
*/ | |
type HandlerCleanup = VoidFunction | |
/** | |
* 组件捕获后执行的回调函数 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { createFilter } = require("@rollup/pluginutils"); | |
const pathTemplate =(path)=> ` | |
var path = ${path}; | |
export default path; | |
` | |
module.exports = function filePath( | |
options = { | |
include: ["**/*.ejs"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const debounce: <T extends []>(fn: (...args: T) => void, wait: number) => (...args: T) => void = (fn, wait) => { | |
let timeout = -1; | |
return (...args) => { | |
if (timeout !== -1) clearTimeout(timeout); | |
timeout = setTimeout(() => { | |
fn(...args); | |
}, wait); | |
}; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function toCamelCase(str) { | |
return str.toLowerCase().replace(/(?:(^.)|(\s+.))/g, function(match) { | |
return match.charAt(match.length-1).toUpperCase(); | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface UseEchartsOptions { | |
/** | |
* render root | |
*/ | |
renderRootRef: React.RefObject<HTMLDivElement | HTMLCanvasElement>; | |
/** | |
* `setOption` 1st param object | |
*/ | |
echartsOption: EChartOption; | |
/** |
OlderNewer