This server.js
I run on MacOS
Then all changes when I do on linux automatically apply on simulator on MacOS
<input type="number" pattern="[0-9]*" data-numeric-input> |
(async () => { | |
const ONE_OUR = 3.6e6; | |
const ONE_DAY = ONE_OUR * 24; | |
const ONE_WEEK = ONE_DAY * 7; | |
const ONE_MONTH = ONE_DAY * 30; | |
const MY_ACC = '450630799713370122'; | |
const AUTH_HEADERS = { | |
authorization: | |
'NDUwNjMwNzk5NzEzMzcwMTIy.D1nm-A.-Y4FVlVUPvpa5iOhFPcV8wHezn4', | |
'x-fingerprint': '550955708544319502._NRVO3hY6wEg0MGkbkaV_blfirs', |
These examples for:
[email protected]
and aboveflow-typed install # for initial run
Module | Definition | Download |
---|---|---|
@nx-js/observer-util_v4.x.x | v0.104.x-: ❌; v0.25.x-v0.103.x: ❌ | |
@turf/distance_v4.x.x | v0.25.x-v0.103.x: ❌ | |
alasql_v0.3.x | v0.25.x-v0.103.x: ❌ |
const axios = require('axios'); | |
const a= axios.create() | |
a.interceptors.request.use( | |
(v) => (console.log('request 1 start'),v), | |
(v) => (console.log('request 1 end '),v) | |
) |
#!/bin/bash | |
BIN=./node_modules/babel-plugin-fbt/bin | |
TMP_ROOT=./.i18n-cache | |
SRC_ROOT=./src | |
SRC_MANIFEST=${TMP_ROOT}/src-manifest.json | |
ENUM_MANIFEST=${TMP_ROOT}/enum-manifest.json | |
SOURCE_STRINGS=${TMP_ROOT}/source-strings.json |
In file node_modules/@babel/plugin-transform-typescript/lib/index.js
For a function isImportTypeOnly
add code:
function isImportTypeOnly({
binding,
programPath,
jsxPragma
}) {
/// <reference types="react" /> | |
declare namespace FBT { | |
type $Values<T> = T[keyof T]; | |
// https://github.com/facebookincubator/fbt/blob/e9c591f451dbfc91852e316869ae39ad41848c55/runtime/nonfb/GenderConst.js#L9-L23 | |
interface GenderConst { | |
NOT_A_PERSON: 0; | |
FEMALE_SINGULAR: 1; | |
MALE_SINGULAR: 2; |