⚡ Sangsakala Proxy 🏠 Home
Skip to content

Enable TypeScript strictNullChecks option #6203

Open

Description

@vakrilov

Enable strictNullChecks TS option in the TypeScript config for building the tns-core-modules.

This should give us more type safety when developing and should make it clear when null/undefined are needed and when they can be skipped, because field/argument is checked at build time.

CC @DickSmith


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. NathanWalker commented on Oct 23, 2026

    @NathanWalker
    Contributor

    Status update: this is in progress. #11511 adds a per-file strictNullChecks baseline for @nativescript/core, so the codebase can be ratcheted toward the flag without one big change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions