Package Exports
- assemblyscript
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (assemblyscript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
AssemblyScript
Initial AssemblyScript typings for syntax compatibility experiments.
Usage
$> npm install assemblyscriptmemcpy.as:
export function memcpy(dest: IntPtr<uint8>, src: IntPtr<uint8>, length: intptr): IntPtr<uint8> {
for (; length; --length, dest.increment(1).value = src.increment(1).value);
return dest;
}To perform syntax validation against a (monkey-patched to accept .as files / always include index.d.ts) vanilla TypeScript checker:
$> asc --noEmit memcpy.asLicense: Apache License, Version 2.0