NoA IgniteAccelerator Docs
Contact ↗
GitHubGitHub
  • Get Started
      • Context
      • PaymentEmbed
      • createRenderBlock
      • createRequiredContext
      • createSvgIcon
      • getReactElementRef
      • isRefObject
      • setRef
      • useElementSize
      • useFocusReturn
      • useForkRef
      • useInert
      • useIntersectionObserver
      • useInterval
      • useIsomorphicEffect
      • useMediaQuery
      • useMutationObserver
      • useRTL
      • useResizeObserver
      • useSticky
      • useTimeout
      • useVisualViewport
      • useWindowSize
      • typography
      • AnyFunction
      • Concatenate
      • DistributiveOmit
      • HintedNumber
      • HintedString
      • KeyOfAny
      • MapKeys
      • Maybe
      • OverridableStringUnion
      • Overwrite
      • Prettify
      • PropsFrom
      • Repeat
      • Split
      • WithFallback
      • Writeable
      • assert
      • calculateContrast
      • calculateLuminance
      • capitalize
      • clamp
      • colorContrast
      • deepmerge
      • hexToRGB
      • isObject
      • isPlainObject
      • lerp
      • mapRange
      • normalize
      • omit
      • pick
      • range
      • sleep

On This Page

  • Writeable
  • Example
Question? Give us feedback →
@noaignitetypesWriteable

Writeable

Removes readonly from array or tuple literal types.

Example

const test = [1, 2, 3] as const
const test2 = { a: 'a', b: 'b' } as const;
 
type Test = Writeable<typeof test>; // [1, 2, 3]
type Test2 = Writeable<typeof test2>; // { a: 'a', b: 'b' }
WithFallbackassert

Accelerator Docs