google / google/closure-compiler

Add a visibility annotation that means "visible in this package and its subpackages"

Open
#2,868 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
7.7k
Forks
1.2k
Avg merge
2d 12h
Merged PRs (30d)
6

Description

As requested at https://groups.google.com/d/topic/closure-compiler-discuss/x37vv_TAg1g/discussion

The idea is an annotation that allows a variable/property to be accessed from other code in the same package _or subpackages_ but not anywhere else. I'm not sure what the annotation would be. `@subpackages` perhaps.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.