sounisi5011/metalsmith-netlify-published-date

View on GitHub
src/polyfills/symbol.async-iterator.ts

Summary

Maintainability
A
0 mins
Test Coverage
interface SymbolConstructor {
    readonly asyncIterator: symbol;
}

if (!Symbol.asyncIterator) {
    Object.defineProperty(Symbol, 'asyncIterator', {
        value: Symbol('Symbol.asyncIterator'),
    });
}