Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/../uploads/../../../../instantly.picotech.app/homes/../../wa.picotech.app/public_html/node_modules/escape-html/../querystring/../@protobufjs/../once/../ipaddr.js/../codec-parser/../process-warning
الملفات الموجودة في هذا الـ Path:
.
..
.github
LICENSE
README.md
index.d.ts
index.js
index.test-d.ts
jest.test.js
package.json
test.js

مشاهدة ملف: index.test-d.ts

import { expectType } from 'tsd'
import Warinig, { BuildWarnOptsFn, WarnOpts } from './'

const warning = Warinig()
const buildWarnOpts = warning.create('FastifyWarning', 'CODE', 'message')
expectType<BuildWarnOptsFn>(buildWarnOpts)
const opts = buildWarnOpts()
expectType<WarnOpts>(opts)
expectType<string>(opts.code)
expectType<string>(opts.message)
expectType<string>(opts.name)

expectType<void>(warning.emit('CODE'))
expectType<Map<string, boolean>>(warning.emitted)