CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-tns-platform-declarations

Platform-specific TypeScript declarations for NativeScript for accessing native objects

84

1.23x
Overview
Eval results
Files

Evaluation results

100%

Native Object Memory Manager

Memory Management Functions

Criteria
Without context
With context

Uses __releaseNativeCounterpart

100%

100%

Platform-specific GC

100%

100%

Platform detection

100%

100%

Batch processing logic

100%

100%

GC after batch

100%

100%

Proper statistics tracking

100%

100%

100%

NativeScript Type Configuration Helper

Platform Entry Points and Type References

Criteria
Without context
With context

Android reference syntax

100%

100%

iOS reference syntax

100%

100%

API level variants

100%

100%

Reference validation logic

100%

100%

0%

Custom Animation Manager

NativeScript Widgets (Android)

Criteria
Without context
With context

AnimatorSet usage

0%

0%

CustomTransition implementation

0%

0%

Property animators

0%

0%

Interpolator configuration

0%

0%

Animation lifecycle

0%

0%

Performance tracking

0%

0%

54%

-6%

Material Design Card Component

AndroidX Library Support

Criteria
Without context
With context

Triple-slash reference

0%

100%

CardView instantiation

0%

20%

Corner radius configuration

100%

66%

Elevation configuration

100%

66%

Background color configuration

100%

66%

Child view management

100%

70%

Context handling

50%

20%

100%

Binary Data Buffer Manager

Pointer Arithmetic and Low-Level Memory Operations (iOS)

Criteria
Without context
With context

Memory Allocation

100%

100%

Pointer Arithmetic

100%

100%

Typed References

100%

100%

Type Sizing

100%

100%

Buffer Copy Implementation

100%

100%

100%

Temperature Storage System

Primitive Type Conversion (Android)

Criteria
Without context
With context

float() usage

100%

100%

long() usage

100%

100%

SharedPreferences.getFloat() integration

100%

100%

SharedPreferences.getLong() integration

100%

100%

Editor.commit() pattern

100%

100%

88%

-2%

Core Foundation String Manager

Unmanaged Reference Lifecycle (iOS)

Criteria
Without context
With context

Unmanaged type usage

50%

40%

takeRetainedValue implementation

100%

100%

takeUnretainedValue implementation

100%

100%

Correct semantic distinction

100%

100%

String value extraction

100%

100%

100%

2%

Device Information Utility

Basic Native Object Access

Criteria
Without context
With context

Platform Detection

100%

100%

Android Build Access

100%

100%

iOS UIDevice Access

100%

100%

Type Reference Directives

90%

100%

Return Type Conformance

100%

100%

100%

65%

Geometry Utilities for NativeScript

Struct Type Handling (iOS)

Criteria
Without context
With context

CGRect struct usage

0%

100%

Struct initialization

0%

100%

Property access

100%

100%

Struct equality comparison

0%

100%

Struct copying/manipulation

100%

100%

100%

100%

Image Gallery Downloader

Advanced Widget Systems (Android)

Criteria
Without context
With context

CompleteCallback usage

0%

100%

Image download API

0%

100%

File write API

0%

100%

onError callback implementation

0%

100%

Multiple async operations

0%

100%

Context parameter

0%

100%

Install with Tessl CLI

npx tessl i tessl/npm-tns-platform-declarations
Evaluated
Agent
Claude Code

Table of Contents